﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Forget.aspx.cs" Inherits="Forget" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">

    <title>找回密码</title>
        <link href="Css/forget.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <img alt="" src="Image/top.jpg" />
    </div>
    <div id="forget">
        <p>用户名:&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="Txtname" runat="server"  ValidationGroup="a"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入用户名" ControlToValidate ="Txtname" ValidationGroup="a"></asp:RequiredFieldValidator></p>
        <p><asp:Button ID="showquestion" runat="server" Text="显示问题" CssClass ="bottom" 
                onclick="showquestion_Click" ValidationGroup="a" />
        <asp:Label ID="question" runat="server"></asp:Label></p>
        <p>答案是:&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="answer" runat="server"></asp:TextBox></p>
        <p> <asp:Button ID="find" runat="server" Text="显示密码" CssClass ="bottom" 
                onclick="find_Click" ValidationGroup="a" />
        <asp:Label ID="mm" runat="server" Text=""></asp:Label></p>
        <p>
        </p>
        <asp:LinkButton ID="LinkButton1" runat="server" CssClass="link"  PostBackUrl ="~/Default.aspx">点击返回</asp:LinkButton>
    </div>
    </form>
</body>
</html>
